<template>
  <div class="like">
    <ul>
      <li>
        <div>
          <h1>品牌货源</h1>
          <p>热销精选</p>
          <a href="#">GO</a>
        </div>
        <div>
          <div>
            <img
              src="https://cbu01.alicdn.com/img/ibank/2019/609/330/12577033906_2039162522.jpg"
            />
          </div>
        </div>
      </li>
      <li>
        <div>
          <h1>品牌货源</h1>
          <p>热销精选</p>
          <a href="#">GO</a>
        </div>
        <div>
          <div>
            <img
              src="https://cbu01.alicdn.com/img/ibank/2019/609/330/12577033906_2039162522.jpg"
            />
          </div>
        </div>
      </li>
      <li>
        <div>
          <h1>品牌货源</h1>
          <p>热销精选</p>
          <a href="#">GO</a>
        </div>
        <div>
          <div>
            <img
              src="https://cbu01.alicdn.com/img/ibank/2019/609/330/12577033906_2039162522.jpg"
            />
          </div>
        </div>
      </li>
      <li>
        <div>
          <h1>品牌货源</h1>
          <p>热销精选</p>
          <a href="#">GO</a>
        </div>
        <div>
          <div>
            <img
              src="https://cbu01.alicdn.com/img/ibank/2019/609/330/12577033906_2039162522.jpg"
            />
          </div>
        </div>
      </li>
      <li>
        <div>
          <h1>品牌货源</h1>
          <p>热销精选</p>
          <a href="#">GO</a>
        </div>
        <div>
          <div>
            <img
              src="https://cbu01.alicdn.com/img/ibank/2019/609/330/12577033906_2039162522.jpg"
            />
          </div>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "Like",
};
</script>

<style lang="less" scoped>
.like {
  padding: 9px 0 9px 9px;
  width: 1182px;
  height: 128px;
  margin: 20px auto;
  background-color: #f2f2f2;
  ul li {
    float: left;
    margin-right: 5px;
    padding: 8px;
    width: 214px;
    height: 112px;
    background-color: #c9bcbd;
  }
  ul li div:first-of-type {
    float: left;
    height: 128px;
    width: 120px;
    h1 {
      margin: 16px 0 8px 0;
      font-size: 20px;
      color: #fff;
    }
    p {
      margin-bottom: 10px;
      font-size: 14px;
      color: #fff;
    }
    a {
      display: inline-block;
      border-radius: 10px;
      width: 40px;
      height: 20px;
      background-color: #fff;
      color: #5584ff;
      text-align: center;
      line-height: 20px;
      font-size: 18px;
      font-weight: 700;
    }
  }
  ul li div:last-of-type {
    float: right;
    height: 128px;
    width: 90px;
    div {
      position: relative;
      margin-top: 17px;
      width: 90px;
      height: 90px;
      background-color: #fff;
    }
    div img {
      position: absolute;
      left: 50%;
      top: 50%;
      margin-left: -32px;
      margin-top: -32px;
      width: 64px;
      height: 64px;
    }
  }
}
</style>
